package com.zsck.pos.bean;

import com.chad.library.adapter.base.entity.node.BaseExpandNode;
import com.chad.library.adapter.base.entity.node.BaseNode;

import org.jetbrains.annotations.Nullable;

import java.util.List;

/*月份账单列表*/
public class MonthBill extends BaseExpandNode {
    private List<BaseNode> childNode;

    public void setChildNode(List<BaseNode> childNode) {
        this.childNode = childNode;
        setExpanded(false);
    }

    private int curpos;

    public int getCurpos() {
        return curpos;
    }

    public void setCurpos(int curpos) {
        this.curpos = curpos;
    }

    /**
     * id : 45115a99-df27-49ee-a4eb-b6ef2f5f946a
     * amount : 4000
     * roomName : 1栋一单元108
     * roomId : 633cebf4-ff5e-46ea-8881-a314c28ef4f5
     * month : 2021-04
     * billType : 3
     * source : contract
     * feeVOList : [{"amount":4000,"feeIdList":["9c98de60-7139-4a31-b101-adb9e9b0ec4f"],"feeId":"9c98de60-7139-4a31-b101-adb9e9b0ec4f","name":"6%租金"}]
     */
    private boolean isChecked;
    private String id;
    private double amount;
    private String roomName;
    private String roomId;
    private String month;
    private String billType;
    private String source;
    private List<FeeVOListBean> feeVOList;

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getBillType() {
        return billType;
    }

    public void setBillType(String billType) {
        this.billType = billType;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public List<FeeVOListBean> getFeeVOList() {
        return feeVOList;
    }

    public void setFeeVOList(List<FeeVOListBean> feeVOList) {
        this.feeVOList = feeVOList;
    }

    @Nullable
    @Override
    public List<BaseNode> getChildNode() {
        return childNode;
    }



}
